package com.h3c.gm.dao

import com.h3c.gm.entity.DO.BusOrgDO
import org.springframework.stereotype.Repository

/**
 * Created by d14287 on 2017/6/23.
 */
@Repository
interface IBusOrgDao {
    void insert(BusOrgDO busOrgDO)

    BusOrgDO getOrgByOrgkey(String orgkey)

    List<BusOrgDO> getOrgs(Map queryParams)

    int getCount(Map queryParams)

    List<Map<String, Integer>> getCityOrgs()

    List<BusOrgDO> getCityOrg(String city)

    void deleteByOrgkey(String orgkey)
}